import type { BaseTableConfig } from '@/components/base-ui/base-table/type';
import { widthLevel1, widthLevel2 } from '@/config';

export const tableConfig: BaseTableConfig = {
    items: [
        {
            modelKey: 'bomCode',
            columnProps: {
                label: 'BOM编码',
                width: widthLevel2
            }
        },
        {
            modelKey: 'bomName',
            columnProps: {
                label: 'BOM名称',
                width: widthLevel2
            }
        },
        {
            modelKey: 'materialCode',
            columnProps: {
                label: '父项物料编码',
                width: widthLevel2
            }
        },
        {
            modelKey: 'materialName',
            columnProps: {
                label: '父项物料名称',
                width: widthLevel2
            }
        },
        {
            modelKey: 'creator',
            columnProps: {
                label: '创建人',
                width: widthLevel2
            }
        },
        {
            modelKey: 'createTime',
            columnProps: {
                label: '创建时间 ',
                width: widthLevel1
            }
        }
    ]
};
